package com.haoniu.module.domain.database;

import com.haoniu.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author qiaomengnan
 * @ClassName: RedWelfareBagUser
 * @Description: 福利包的接收用户
 * @date 2019-04-21
 */
public class RedWelfareBagUser extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 
	 * @Fields  : 接收ID
	 * @author qiaomengnan
	 */ 
	private Integer id;

	/**
	 * @Fields  : 福利包ID
	 * @author qiaomengnan
	 */
	private Integer bagId;

	/**
	 * @Fields  : 用户ID
	 * @author qiaomengnan
	 */
	private Integer userId;

	/**
	 * @Fields  : 抢到金额
	 * @author qiaomengnan
	 */
	private BigDecimal bagMoney;

	/**
	 * @Fields  : 状态 0.已分配 1.已入账
	 * @author qiaomengnan
	 */
	private String status;

	/**
	 * @Fields  : 0. 正常 1. 删除
	 * @author qiaomengnan
	 */
	private Integer delFlag;

	/**
	 * @Fields  : 抢包时间
	 * @author qiaomengnan
	 */
	private Date bagTime;

	public Integer getBagId() {
		return bagId;
	}

	public void setBagId(Integer bagId) {
		this.bagId = bagId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public BigDecimal getBagMoney() {
		return bagMoney;
	}

	public void setBagMoney(BigDecimal bagMoney) {
		this.bagMoney = bagMoney;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getBagTime() {
		return bagTime;
	}

	public void setBagTime(Date bagTime) {
		this.bagTime = bagTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
}
